home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / fax / src / man / Makefile < prev    next >
Makefile  |  1994-08-01  |  3KB  |  82 lines

  1. #!smake
  2. #    $Header: /usr/people/sam/fax/man/RCS/Makefile,v 1.22 1994/03/31 23:57:35 sam Rel $
  3. #
  4. # FlexFAX Facsimile Software
  5. #
  6. # Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994 Sam Leffler
  7. # Copyright (c) 1991, 1992, 1993, 1994 Silicon Graphics, Inc.
  8. # Permission to use, copy, modify, distribute, and sell this software and 
  9. # its documentation for any purpose is hereby granted without fee, provided
  10. # that (i) the above copyright notices and this permission notice appear in
  11. # all copies of the software and related documentation, and (ii) the names of
  12. # Sam Leffler and Silicon Graphics may not be used in any advertising or
  13. # publicity relating to the software without the specific, prior written
  14. # permission of Sam Leffler and Silicon Graphics.
  15. # THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
  16. # EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
  17. # WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
  18. # IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
  19. # ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
  20. # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  21. # WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
  22. # LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
  23. # OF THIS SOFTWARE.
  24. #
  25. DEPTH=..
  26. include ${DEPTH}/defs
  27.  
  28. CLIENTAPPS=flexfax.1 fax2ps.1 faxalter.1 faxcover.1 faxmail.1 faxrm.1 \
  29.     faxstat.1 sendfax.1 sgi2fax.1 textfmt.1
  30. CLIENTFILES=pagesizes.4f typerules.4f
  31. SERVERAPPS=dialtest.1m faxaddmodem.1m faxanswer.1m faxcron.1m faxd.1m \
  32.     faxd.recv.1m faxquit.1m faxrcvd.1m notify.1m pollrcvd.1m ps2fax.1m \
  33.     recvstats.1m transcript.1m xferstats.1m
  34. SERVERFILES=intro.4f cinfo.4f config.4f dialrules.4f hosts.4f info.4f \
  35.     log.4f recvq.4f sendq.4f status.4f tsi.4f xferlog.4f
  36. #
  37. # The defs file defines these macros to reflect whether
  38. # or not to install pre-formatted manual pages or not.
  39. #
  40. PAGES=    ${MANCAPP} ${MANCFILE} ${MANSAPP} ${MANSFILE}
  41. LDIRT=    ${PAGEDIRT}
  42.  
  43. #
  44. # System-specific manual page formatting commands should
  45. # apply this sed command to the manual page source before
  46. # handing it to the formatter.  This sets any pathnames
  47. # in the man pages to reflect local conventions.
  48. #
  49. MANSED=${SED}\
  50.     -e 's;\$${SPOOL};${SPOOL};g'\
  51.     -e 's;\$${BIN};${BIN};g'\
  52.     -e 's;\$${LIBDATA};${LIBDATA};g'\
  53.     -e 's;\$${LIBEXEC};${LIBEXEC};g'\
  54.     -e 's;\$${USRETC};${USRETC};g'\
  55.     -e 's;\$${AFMDIR};${AFMDIR};g'\
  56.     ${NULL}
  57.  
  58. default all targets:: ${PAGES}
  59.  
  60. include ${COMMONRULES}
  61.  
  62. installClientManPages:: ${MANCAPP} ${MANCFILE}
  63.     -${INSTALL} -m 755 -dir -idb flexfax.man.client \
  64.         ${MAN}/${MANAPPS} ${MAN}/${MANFILES}
  65.     ${INSTALL} -m 444 -F ${MAN}/${MANAPPS} \
  66.         -idb ${PRODUCT}.man.client -O ${MANCAPP}
  67.     ${INSTALL} -m 444 -F ${MAN}/${MANFILES} \
  68.         -idb ${PRODUCT}.man.client -O ${MANCFILE}
  69.  
  70. installServerManPages:: ${MANSAPP} ${MANSFILE}
  71.     -${INSTALL} -m 755 -dir -idb flexfax.man.server \
  72.         ${MAN}/${MANSYS} ${MAN}/${MANFILES}
  73.     ${INSTALL} -m 444 -F ${MAN}/${MANSYS} \
  74.         -idb ${PRODUCT}.man.server -O ${MANSAPP}
  75.     ${INSTALL} -m 444 -F ${MAN}/${MANFILES} \
  76.         -idb ${PRODUCT}.man.server -O ${MANSFILE}
  77.  
  78. install: installClientManPages installServerManPages
  79.